package com.Service.impl;

import com.mapper.GroupJoinMapper;
import com.Service.GroupJoinService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class GroupJoinServiceImpl implements GroupJoinService {

    @Autowired
    private GroupJoinMapper groupJoinMapper;

    @Override
    public void join(Long userId, Long activityId) {
        groupJoinMapper.insert(userId, activityId);
    }
}